package org.ehe.finance.customer.domain.vo;

import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.ehe.common.mybatis.core.domain.BaseEntity2;
import org.ehe.finance.customer.domain.ErpFinanceCustomer;

import java.math.BigDecimal;

/**
 * 客户档案VO
 * @author :zhangnn
 * @className :ErpFinanceCustomerVo
 * @description: TODO
 * @date 2025-08-27 16:32:03
 */
@Data
@AutoMapper(target = ErpFinanceCustomer.class)
public class ErpFinanceCustomerVo extends BaseEntity2 {
    /**
     * 客户ID
     */
    @ExcelProperty(value = "客户ID")
    private Long id;

    /**
     * 客户编码
     */
    @ExcelProperty(value = "客户编码")
    private String customerCode;

    /**
     * 客户名称
     */
    @ExcelProperty(value = "客户名称")
    private String customerName;

    /**
     * 客户类型:1企业,2个人
     */
    private Integer customerType;
    /**
     * 客户类型名称
     */
    @ExcelProperty(value = "客户类型名称")
    private String customerTypeName;
    /**
     * 统一社会信用代码
     */
    @ExcelProperty(value = "统一社会信用代码")
    private String creditCode;
    /**
     * 纳税人识别号
     */
    @ExcelProperty(value = "纳税人识别号")
    private String taxNo;
    /**
     * 联系人
     */
    @ExcelProperty(value = "联系人")
    private String contactPerson;
    /**
     * 联系电话
     */
    @ExcelProperty(value = "联系电话")
    private String phone;
    /**
     * 邮箱
     */
    @ExcelProperty(value = "邮箱")
    private String email;
    /**
     * 地址
     */
    @ExcelProperty(value = "地址")
    private String address;
    /**
     * 开户银行
     */
    @ExcelProperty(value = "开户银行")
    private String bankName;
    /**
     * 银行账号
     */
    @ExcelProperty(value = "银行账号")
    private String bankAccount;
    /**
     * 信用额度
     */
    @ExcelProperty(value = "信用额度")
    private BigDecimal creditLimit;
    /**
     * 付款期限(天)
     */
    @ExcelProperty(value = "付款期限(天)")
    private Integer paymentTerm;
    /**
     * 状态:0禁用,1启用
     */
    private Integer status;
    /**
     * 状态名称
     */
    @ExcelProperty(value = "状态名称")
    private String statusName;
}
